package com.cyzy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyzy.domain.bean.TAgent;
import com.cyzy.domain.bean.TOrder;
import com.cyzy.domain.vo.TOrderVo;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * TODO
 *
 * @author Honarly
 * @date 2024.11.19
 */
@Mapper
public interface TOrderMapper extends BaseMapper<TOrder> {

    List<TOrderVo> selectByUserId(
            @Param("userId") Integer userId,
            @Param("status") String status,
            @Param("offset") Integer offset,
            @Param("limit") Integer limit
    );
}
